<p>
  <b>Name:</b> 
  <%=h @agency.name %>
</p>

<p>
  <b>Phone:</b> 
  <%=h @agency.phone %>
</p>

<p>
  <b>Address line 1:</b> 
  <%=h @agency.address_line_1 %>
</p>

<p>
  <b>Address line 2:</b> 
  <%=h @agency.address_line_2 %>
</p>

<p>
  <b>City:</b> 
  <%=h @agency.city %>
</p>

<p>
  <b>State:</b> 
  <%=h @agency.state %>
</p>

<p>
  <b>Zip code:</b> 
  <%=h @agency.zip_code %>
</p>

<p>
  <b>Email:</b> 
  <%=h @agency.email %>
</p>

<p>
  <b>Website:</b> 
  <%=h @agency.website %>
</p><br />

<% if current_user.can_edit_agency_by_id(params[:id]) %>
<%= link_to 'Sites', agency_sites_path(@agency) %> |
<%= link_to 'Edit', edit_agency_path(@agency) %> |
<% end %>
<%= link_to 'Back', agencies_path %>
<% if is_admin? %> |
	<td><%= link_to 'Destroy', @agency, :confirm => 'Are you sure?', :method => :delete %></td>
<% end %>